package model

import "github.com/zeromicro/go-zero/core/stores/sqlx"

var _ OmsPaymentInfoModel = (*customOmsPaymentInfoModel)(nil)

type (
	// OmsPaymentInfoModel is an interface to be customized, add more methods here,
	// and implement the added methods in customOmsPaymentInfoModel.
	OmsPaymentInfoModel interface {
		omsPaymentInfoModel
	}

	customOmsPaymentInfoModel struct {
		*defaultOmsPaymentInfoModel
	}
)

// NewOmsPaymentInfoModel returns a model for the database table.
func NewOmsPaymentInfoModel(conn sqlx.SqlConn) OmsPaymentInfoModel {
	return &customOmsPaymentInfoModel{
		defaultOmsPaymentInfoModel: newOmsPaymentInfoModel(conn),
	}
}
